package com.bootdo.ztzb.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.ztzb.dao.ZtzbProcessProductDao;
import com.bootdo.ztzb.domain.ZtzbProcessProductDO;
import com.bootdo.ztzb.service.ZtzbProcessProductService;



@Service
public class ZtzbProcessProductServiceImpl implements ZtzbProcessProductService {
	@Autowired
	private ZtzbProcessProductDao ztzbProcessProductDao;
	
	@Override
	public ZtzbProcessProductDO get(Long id){
		return ztzbProcessProductDao.get(id);
	}
	
	@Override
	public List<ZtzbProcessProductDO> list(Map<String, Object> map){
		return ztzbProcessProductDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return ztzbProcessProductDao.count(map);
	}
	
	@Override
	public int save(ZtzbProcessProductDO ztzbProcessProduct){
		return ztzbProcessProductDao.save(ztzbProcessProduct);
	}
	
	@Override
	public int update(ZtzbProcessProductDO ztzbProcessProduct){
		return ztzbProcessProductDao.update(ztzbProcessProduct);
	}
	
	@Override
	public int remove(Long id){
		return ztzbProcessProductDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return ztzbProcessProductDao.batchRemove(ids);
	}
	
}
